/**
 * Metro configuration for React Native
 * https://github.com/facebook/react-native
 *
 * @format
 */

let {
  assetExts,
  sourceExts
} = require("metro-config/src/defaults/defaults")

module.exports = {
  transformer: {
    getTransformOptions: async () => ({
      transform: {
        experimentalImportSupport: false,
        inlineRequires: false,
      },
    }),
  },
  resolver: {
    assetExts: [ ...assetExts, 'glb', "obj", "mtl" ],
    //sourceExts: [ ...sourceExts, 'glb' ],
  },
};
